package com.thwj.framework.config;

import com.thwj.common.utils.http.OkHttpClientHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class OkHttpClientConfiguration {

    @Bean(destroyMethod = "destroy")
    public OkHttpClientHelper okHttpClientHelper(){
        return OkHttpClientHelper.build();
    }

}
